Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix global propagator registration #280

Merged

Conversation

Aneurysm9
Copy link
Member

Description: Avoid duplicate registration errors by using the
global.configureSdkRegistration() callback to set
the propagator field of the SDKRegistrationConfig
rather than explicitly calling propagation.setGlobalPropagator().

Signed-off-by: Anthony J Mirabella a9@aneurysm9.com

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Avoid duplicate registration errors by using the
`global.configureSdkRegistration()` callback to set
the `propagator` field of the `SDKRegistrationConfig`
rather than explicitly calling `propagation.setGlobalPropagator()`.

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
@Aneurysm9 Aneurysm9 requested a review from a team as a code owner August 15, 2022 22:05
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
@Aneurysm9 Aneurysm9 merged commit 40a949d into aws-observability:main Aug 15, 2022
@Aneurysm9 Aneurysm9 deleted the fix/nodejs/propagatorRegistration branch August 15, 2022 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants